/**
 * Created by 000188 on 2016/6/30.
 */
import React from 'react';

let Note = React.createClass({
    render(){
        let noteImg = require('../../../images/note.png');
        return <div className="note">
            <img src={noteImg} width="100%" />
            <div className="note-text">
                <h5>{this.props.noteText.title}</h5>
                <ul>
                    {this.props.noteText.list.map((t,i)=>{
                        return <li key={i}>{i+1}、{t}</li>
                    })}
                </ul>
            </div>
        </div>
    }
});

module.exports = Note;